import request from '@/utils/request'

// 查询公司配置列表
export function listGenComTypePO(query) {
  return request({
    url: '/system/genComTypePO/list',
    method: 'get',
    params: query
  })
}

// 查询公司配置详细
export function getGenComTypePO(id) {
  return request({
    url: '/system/genComTypePO/' + id,
    method: 'get'
  })
}

// 新增公司配置
export function addGenComTypePO(data) {
  return request({
    url: '/system/genComTypePO',
    method: 'post',
    data: data
  })
}

// 修改公司配置
export function updateGenComTypePO(data) {
  return request({
    url: '/system/genComTypePO',
    method: 'put',
    data: data
  })
}

// 删除公司配置
export function delGenComTypePO(id) {
  return request({
    url: '/system/genComTypePO/' + id,
    method: 'delete'
  })
}
